home *** CD-ROM | disk | FTP | other *** search
/ EnigmA Amiga Run 1996 February / EnigmA AMIGA RUN 04 (1996)(G.R. Edizioni)(IT)[!][issue 1996-02][Skylink CD III].iso / earcd / netbsd / contrib / ghostscript-3.0-bin10.readme < prev    next >
Text File  |  1995-12-26  |  1KB  |  50 lines

  1. Descr:     Aladdin Ghostscript 3.0, compiled for NetBSD 1.0b, also runs
  2.     under 1.1. An example of how to set up a PostScript-printer
  3.     is provided. Installs into /usr/local/GhostScript-3.0. 
  4.  
  5. This is GhostScript-3.0, compiled for NetBSD 1.0b.
  6.  
  7. Installation:
  8. # cd /
  9. # tar zvxf GhostScript-3.0.tar.gz
  10. # sh usr/local/GhostScript-3.0/install/install.sh
  11.  
  12. Deinstallation:
  13. # cd /
  14. # sh usr/local/GhostScript-3.0/install/uninstall.sh
  15. # rm -fr usr/local/GhostScript-3.0
  16.  
  17. To install GhostScript as a printer-filter, do the following steps:
  18. # cat >/usr/local/lib/PSfilter <<EOF
  19. #!/bin/sh
  20. /usr/local/bin/gs \
  21.     -dNOPAUSE \
  22.     -q \
  23.     -r180 \
  24.     -sDEVICE=epson \
  25.     -sOutputFile=- \
  26.     - /usr/local/lib/ghostscript/3.0/quit.ps
  27. EOF
  28. # chmod +x /usr/local/lib/PSfilter
  29. # cat >>/etc/printcap <<EOF
  30. PS|local PostScript printer via GhostScript:\
  31.     :lp=/dev/par0:sd=/var/spool/lpd:lf=/var/log/lpd-errs:\
  32.     :of=/usr/local/lib/PSfilter:pw=80:pl=65:mx=0:sh:
  33. EOF
  34. # lpc restart all
  35. # lpr -PPS /usr/local/lib/ghostscript/3.0/examples/golfer.ps
  36.  
  37. The above example is for a 180DPI Epson printer, see "gs -h" for a list of
  38. all available devices.
  39.  
  40.  
  41. Enjoy,
  42.  
  43.      Hubert
  44.  
  45. =============== Hubert Feyrer ============================================
  46.       Weekdays: Rennerstr. 19, D-93053 Regensburg,  Tel. 0941/943-2905
  47.       Weekends: Bachstr. 40,   D-84066 Mallersdorf, Tel. 08772/6084
  48.       Internet: hubert.feyrer@rz.uni-regensburg.de == IRC: hubertf
  49. ==========================================================================
  50.